package com.epam.task.xml.classes;

import com.epam.task.xml.enums.Measure;

/**
 * Created with IntelliJ IDEA.
 * User: zhunusbekova.arailym
 * Date: 12.09.13
 * Time: 11:54
 * To change this template use File | Settings | File Templates.
 */
public class Dosage {
    private Float dose;
    private Measure measure;
    private int frequency;

    public Dosage() {

    }

    public Dosage(Float dose, Measure measure, int frequency) {
        this.dose = dose;
        this.measure = measure;
        this.frequency = frequency;
    }

    public Float getDose() {
        return dose;
    }

    public void setDose(Float dose) {
        this.dose = dose;
    }

    public Measure getMeasure() {
        return measure;
    }

    public void setMeasure(Measure measure) {
        this.measure = measure;
    }

    public int getFrequency() {
        return frequency;
    }

    public void setFrequency(int frequency) {
        this.frequency = frequency;
    }

    public String toString() {
        return "\n\t\tdose: " + dose + " " + measure + "\n\t\tperiodicity: " + frequency;
    }
}
